<template>
  <div>
    <router-view></router-view>
  </div>
</template>

<script>
import { getList } from '@/api/index'
export default {
  mounted () {
    this.getList()
  },
  methods: {
    async getList () {
      try {
        const res = await getList()
        console.log(res)
      } catch (error) {
        console.log(error)
      }
    }
  }
}
</script>

<style scoped>

</style>
